PaymentPlugins\Braintree\WooFunnels\Upsell\Payments\Api S

Total Complexity 31
Dependencies 3
Dependents 1
Total lines 174
Lines of code 122
Logical lines of code 52
Comment lines 28
Methods 11
Properties 3

Methods 11

Method Rating Maintainability Complexity Lines of code
localize_data()
A
42 11 51
enqueue_scripts()
S
53 6 21
maybe_force_tokenization()
S
67 4 7
load_gateways()
S
73 2 5
update_subscription_meta()
S
71 2 6
__construct()
S
61 1 11
get_supported_gateways()
S
79 1 3
add_supported_subscription_gateways()
S
79 1 3
get_payment_gateways()
S
66 1 9
is_braintree_payment_method()
S
79 1 3
get_payment_gateway()
S
80 1 3